export interface reqSkuData {
  code: number;
  message: string;
  ok: boolean;
}
//sku数据类型
export interface skuAttr {
  attrId: number;
  skuId: number;
}
export interface skuSale {
  saleAttrId: number;
  saleAttrValueId: number;
}
export interface SkuDate {
  id?: number;
  category3Id?: number | string;
  spuId?: number | string;
  tmId?: number | string;
  weight?: number | string;
  price?: number | string;
  skuDesc?: number | string;
  skuName?: string;
  skuAttrValueList?: skuAttr[];
  skuDefaultImg?: string;

  skuSaleAttrValueList?: skuSale[];
  isSale?: number;
}

export interface reqSkuDataList extends reqSkuData {
  data: {
    records: SkuDate[];
    total: number;
    size: number;
    current: number;
    orders: [];
    optimizeCountSql: boolean;
    hitCount: boolean;
    countId: null;
    maxLimit: null;
    searchCount: boolean;
    pages: number;
  };
}
//获取单个sku详细信息
export interface reqOneSku extends reqSkuData {
  data: SkuDate[];
}
